<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::PCDGrabberBase类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_p_c_d_grabber_base.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1_p_c_d_grabber_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::PCDGrabberBase类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for PCD file grabber.  
 <a href="classpcl_1_1_p_c_d_grabber_base.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="pcd__grabber_8h_source.html">pcd_grabber.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::PCDGrabberBase 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1_p_c_d_grabber_base.png" usemap="#pcl::PCDGrabberBase_map" alt=""/>
  <map id="pcl::PCDGrabberBase_map" name="pcl::PCDGrabberBase_map">
<area href="classpcl_1_1_grabber.html" title="Grabber interface for PCL 1.x device drivers" alt="pcl::Grabber" shape="rect" coords="0,0,167,24"/>
<area href="classpcl_1_1_p_c_d_grabber.html" alt="pcl::PCDGrabber&lt; PointT &gt;" shape="rect" coords="0,112,167,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6cccea44cb6cfc0935abc80d453aa70a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a6cccea44cb6cfc0935abc80d453aa70a">PCDGrabberBase</a> (const std::string &amp;pcd_file, float frames_per_second, bool repeat)</td></tr>
<tr class="memdesc:a6cccea44cb6cfc0935abc80d453aa70a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor taking just one PCD file or one TAR file containing multiple PCD files.  <a href="classpcl_1_1_p_c_d_grabber_base.html#a6cccea44cb6cfc0935abc80d453aa70a">更多...</a><br /></td></tr>
<tr class="separator:a6cccea44cb6cfc0935abc80d453aa70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6806e985294aa87ccfd4414b6ab666d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#aa6806e985294aa87ccfd4414b6ab666d">PCDGrabberBase</a> (const std::vector&lt; std::string &gt; &amp;pcd_files, float frames_per_second, bool repeat)</td></tr>
<tr class="memdesc:aa6806e985294aa87ccfd4414b6ab666d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor taking a list of paths to PCD files, that are played in the order they appear in the list.  <a href="classpcl_1_1_p_c_d_grabber_base.html#aa6806e985294aa87ccfd4414b6ab666d">更多...</a><br /></td></tr>
<tr class="separator:aa6806e985294aa87ccfd4414b6ab666d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9578e7d81ec13e8b4b8b7a00f3155d80"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a9578e7d81ec13e8b4b8b7a00f3155d80">PCDGrabberBase</a> (const <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html">PCDGrabberBase</a> &amp;src)</td></tr>
<tr class="memdesc:a9578e7d81ec13e8b4b8b7a00f3155d80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="classpcl_1_1_p_c_d_grabber_base.html#a9578e7d81ec13e8b4b8b7a00f3155d80">更多...</a><br /></td></tr>
<tr class="separator:a9578e7d81ec13e8b4b8b7a00f3155d80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa53fb50359bc73a7b53d601cc9b346bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html">PCDGrabberBase</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#aa53fb50359bc73a7b53d601cc9b346bf">operator=</a> (const <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html">PCDGrabberBase</a> &amp;src)</td></tr>
<tr class="memdesc:aa53fb50359bc73a7b53d601cc9b346bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy operator.  <a href="classpcl_1_1_p_c_d_grabber_base.html#aa53fb50359bc73a7b53d601cc9b346bf">更多...</a><br /></td></tr>
<tr class="separator:aa53fb50359bc73a7b53d601cc9b346bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5969e24bab8499fbc489e675a3394a0e"><td class="memItemLeft" align="right" valign="top"><a id="a5969e24bab8499fbc489e675a3394a0e"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a5969e24bab8499fbc489e675a3394a0e">~PCDGrabberBase</a> ()  throw ()</td></tr>
<tr class="memdesc:a5969e24bab8499fbc489e675a3394a0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. <br /></td></tr>
<tr class="separator:a5969e24bab8499fbc489e675a3394a0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bcea1ceadaca0b4d0ab1b1d28b2bc70"><td class="memItemLeft" align="right" valign="top"><a id="a1bcea1ceadaca0b4d0ab1b1d28b2bc70"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a1bcea1ceadaca0b4d0ab1b1d28b2bc70">start</a> ()</td></tr>
<tr class="memdesc:a1bcea1ceadaca0b4d0ab1b1d28b2bc70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts playing the list of PCD files if frames_per_second is &gt; 0. Otherwise it works as a trigger: publishes only the next PCD file in the list. <br /></td></tr>
<tr class="separator:a1bcea1ceadaca0b4d0ab1b1d28b2bc70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4decd78c0fe3d3d1cce9a0b17d82791"><td class="memItemLeft" align="right" valign="top"><a id="ac4decd78c0fe3d3d1cce9a0b17d82791"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#ac4decd78c0fe3d3d1cce9a0b17d82791">stop</a> ()</td></tr>
<tr class="memdesc:ac4decd78c0fe3d3d1cce9a0b17d82791"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops playing the list of PCD files if frames_per_second is &gt; 0. Otherwise the method has no effect. <br /></td></tr>
<tr class="separator:ac4decd78c0fe3d3d1cce9a0b17d82791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad737f47689e2e2fa0a0426ae29318159"><td class="memItemLeft" align="right" valign="top"><a id="ad737f47689e2e2fa0a0426ae29318159"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#ad737f47689e2e2fa0a0426ae29318159">trigger</a> ()</td></tr>
<tr class="memdesc:ad737f47689e2e2fa0a0426ae29318159"><td class="mdescLeft">&#160;</td><td class="mdescRight">Triggers a callback with new data <br /></td></tr>
<tr class="separator:ad737f47689e2e2fa0a0426ae29318159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1dc2332f1796490031bb0e2161f06b8"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#ab1dc2332f1796490031bb0e2161f06b8">isRunning</a> () const</td></tr>
<tr class="memdesc:ab1dc2332f1796490031bb0e2161f06b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates whether the grabber is streaming or not.  <a href="classpcl_1_1_p_c_d_grabber_base.html#ab1dc2332f1796490031bb0e2161f06b8">更多...</a><br /></td></tr>
<tr class="separator:ab1dc2332f1796490031bb0e2161f06b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae42d82f143cf15137d3ea82f1de49f3a"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#ae42d82f143cf15137d3ea82f1de49f3a">getName</a> () const</td></tr>
<tr class="separator:ae42d82f143cf15137d3ea82f1de49f3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa1f85dc6dd4f5929f88039e2388fa41"><td class="memItemLeft" align="right" valign="top"><a id="afa1f85dc6dd4f5929f88039e2388fa41"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#afa1f85dc6dd4f5929f88039e2388fa41">rewind</a> ()</td></tr>
<tr class="memdesc:afa1f85dc6dd4f5929f88039e2388fa41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rewinds to the first PCD file in the list. <br /></td></tr>
<tr class="separator:afa1f85dc6dd4f5929f88039e2388fa41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0df16c5211c360b3eb1199a63f916746"><td class="memItemLeft" align="right" valign="top"><a id="a0df16c5211c360b3eb1199a63f916746"></a>
virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a0df16c5211c360b3eb1199a63f916746">getFramesPerSecond</a> () const</td></tr>
<tr class="memdesc:a0df16c5211c360b3eb1199a63f916746"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the frames_per_second. 0 if grabber is trigger-based <br /></td></tr>
<tr class="separator:a0df16c5211c360b3eb1199a63f916746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae5aaaa5b73c9aa65ddff98713ea89c3"><td class="memItemLeft" align="right" valign="top"><a id="aae5aaaa5b73c9aa65ddff98713ea89c3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#aae5aaaa5b73c9aa65ddff98713ea89c3">isRepeatOn</a> () const</td></tr>
<tr class="memdesc:aae5aaaa5b73c9aa65ddff98713ea89c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the repeat flag is on <br /></td></tr>
<tr class="separator:aae5aaaa5b73c9aa65ddff98713ea89c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51c36bbcb4aeb898f5537659d129c01b"><td class="memItemLeft" align="right" valign="top"><a id="a51c36bbcb4aeb898f5537659d129c01b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a51c36bbcb4aeb898f5537659d129c01b">getCloudAt</a> (size_t idx, <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;blob, Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation) const</td></tr>
<tr class="memdesc:a51c36bbcb4aeb898f5537659d129c01b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get cloud (in ROS form) at a particular location <br /></td></tr>
<tr class="separator:a51c36bbcb4aeb898f5537659d129c01b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae47ab9034e2494de2dfe591573cf030a"><td class="memItemLeft" align="right" valign="top"><a id="ae47ab9034e2494de2dfe591573cf030a"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#ae47ab9034e2494de2dfe591573cf030a">numFrames</a> () const</td></tr>
<tr class="memdesc:ae47ab9034e2494de2dfe591573cf030a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the size <br /></td></tr>
<tr class="separator:ae47ab9034e2494de2dfe591573cf030a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpcl_1_1_grabber"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpcl_1_1_grabber')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classpcl_1_1_grabber.html">pcl::Grabber</a></td></tr>
<tr class="memitem:ad1bd77c0344f3cf3283757daddb4fe9d inherit pub_methods_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="ad1bd77c0344f3cf3283757daddb4fe9d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#ad1bd77c0344f3cf3283757daddb4fe9d">Grabber</a> ()</td></tr>
<tr class="memdesc:ad1bd77c0344f3cf3283757daddb4fe9d inherit pub_methods_classpcl_1_1_grabber"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:ad1bd77c0344f3cf3283757daddb4fe9d inherit pub_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c8545d6fe2aadc0fe8ba9643f80c1fc inherit pub_methods_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="a1c8545d6fe2aadc0fe8ba9643f80c1fc"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#a1c8545d6fe2aadc0fe8ba9643f80c1fc">~Grabber</a> ()  throw ()</td></tr>
<tr class="memdesc:a1c8545d6fe2aadc0fe8ba9643f80c1fc inherit pub_methods_classpcl_1_1_grabber"><td class="mdescLeft">&#160;</td><td class="mdescRight">virtual desctructor. <br /></td></tr>
<tr class="separator:a1c8545d6fe2aadc0fe8ba9643f80c1fc inherit pub_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35dc83ee946b0bd5d0a7cbad4df7427b inherit pub_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a35dc83ee946b0bd5d0a7cbad4df7427b inherit pub_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#a35dc83ee946b0bd5d0a7cbad4df7427b">registerCallback</a> (const boost::function&lt; T &gt; &amp;callback)</td></tr>
<tr class="memdesc:a35dc83ee946b0bd5d0a7cbad4df7427b inherit pub_methods_classpcl_1_1_grabber"><td class="mdescLeft">&#160;</td><td class="mdescRight">registers a callback function/method to a signal with the corresponding signature  <a href="classpcl_1_1_grabber.html#a35dc83ee946b0bd5d0a7cbad4df7427b">更多...</a><br /></td></tr>
<tr class="separator:a35dc83ee946b0bd5d0a7cbad4df7427b inherit pub_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed2b00928603dfd9e51cfb22adbedae6 inherit pub_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aed2b00928603dfd9e51cfb22adbedae6 inherit pub_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#aed2b00928603dfd9e51cfb22adbedae6">providesCallback</a> () const</td></tr>
<tr class="memdesc:aed2b00928603dfd9e51cfb22adbedae6 inherit pub_methods_classpcl_1_1_grabber"><td class="mdescLeft">&#160;</td><td class="mdescRight">indicates whether a signal with given parameter-type exists or not  <a href="classpcl_1_1_grabber.html#aed2b00928603dfd9e51cfb22adbedae6">更多...</a><br /></td></tr>
<tr class="separator:aed2b00928603dfd9e51cfb22adbedae6 inherit pub_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a78d25f2077de92291f906e2b69207577"><td class="memItemLeft" align="right" valign="top"><a id="a78d25f2077de92291f906e2b69207577"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>publish</b> (const <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;blob, const Eigen::Vector4f &amp;origin, const Eigen::Quaternionf &amp;orientation, const std::string &amp;file_name) const =0</td></tr>
<tr class="separator:a78d25f2077de92291f906e2b69207577"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a66eb57de546e9d5b88d5245db2e3b868"><td class="memItemLeft" align="right" valign="top"><a id="a66eb57de546e9d5b88d5245db2e3b868"></a>
PCDGrabberImpl *&#160;</td><td class="memItemRight" valign="bottom"><b>impl_</b></td></tr>
<tr class="separator:a66eb57de546e9d5b88d5245db2e3b868"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_methods_classpcl_1_1_grabber"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classpcl_1_1_grabber')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classpcl_1_1_grabber.html">pcl::Grabber</a></td></tr>
<tr class="memitem:a1eaf930e8f5bc9befdf9e7e3dd85cab3 inherit pro_methods_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="a1eaf930e8f5bc9befdf9e7e3dd85cab3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>signalsChanged</b> ()</td></tr>
<tr class="separator:a1eaf930e8f5bc9befdf9e7e3dd85cab3 inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29a1f6e6e197519b08536b6095d28ccc inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2"><a id="a29a1f6e6e197519b08536b6095d28ccc"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a29a1f6e6e197519b08536b6095d28ccc inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::signal&lt; T &gt; *&#160;</td><td class="memTemplItemRight" valign="bottom"><b>find_signal</b> () const</td></tr>
<tr class="separator:a29a1f6e6e197519b08536b6095d28ccc inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae87e7482328a297a95396467e0e28856 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2"><a id="ae87e7482328a297a95396467e0e28856"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ae87e7482328a297a95396467e0e28856 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><b>num_slots</b> () const</td></tr>
<tr class="separator:ae87e7482328a297a95396467e0e28856 inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9ade6bd29a46f6acb411a7968f99ae8 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2"><a id="aa9ade6bd29a46f6acb411a7968f99ae8"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:aa9ade6bd29a46f6acb411a7968f99ae8 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>disconnect_all_slots</b> ()</td></tr>
<tr class="separator:aa9ade6bd29a46f6acb411a7968f99ae8 inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceece1bd68187c109b289567c33536b9 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2"><a id="aceece1bd68187c109b289567c33536b9"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:aceece1bd68187c109b289567c33536b9 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>block_signal</b> ()</td></tr>
<tr class="separator:aceece1bd68187c109b289567c33536b9 inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c1f3c966c486be2b01fe11d2d0df5a inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2"><a id="a25c1f3c966c486be2b01fe11d2d0df5a"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a25c1f3c966c486be2b01fe11d2d0df5a inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>unblock_signal</b> ()</td></tr>
<tr class="separator:a25c1f3c966c486be2b01fe11d2d0df5a inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a023e6b7d7c8ebc27d59e7076162c4c73 inherit pro_methods_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="a023e6b7d7c8ebc27d59e7076162c4c73"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>block_signals</b> ()</td></tr>
<tr class="separator:a023e6b7d7c8ebc27d59e7076162c4c73 inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57fa6746fd5521b7cfe27b7847778969 inherit pro_methods_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="a57fa6746fd5521b7cfe27b7847778969"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>unblock_signals</b> ()</td></tr>
<tr class="separator:a57fa6746fd5521b7cfe27b7847778969 inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e1ee7a265cee458f59414de47a34ed2 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplParams" colspan="2"><a id="a3e1ee7a265cee458f59414de47a34ed2"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a3e1ee7a265cee458f59414de47a34ed2 inherit pro_methods_classpcl_1_1_grabber"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::signal&lt; T &gt; *&#160;</td><td class="memTemplItemRight" valign="bottom"><b>createSignal</b> ()</td></tr>
<tr class="separator:a3e1ee7a265cee458f59414de47a34ed2 inherit pro_methods_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classpcl_1_1_grabber"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classpcl_1_1_grabber')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classpcl_1_1_grabber.html">pcl::Grabber</a></td></tr>
<tr class="memitem:a0e74a0908693c0c948452476d0102dac inherit pro_attribs_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="a0e74a0908693c0c948452476d0102dac"></a>
std::map&lt; std::string, boost::signals2::signal_base * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>signals_</b></td></tr>
<tr class="separator:a0e74a0908693c0c948452476d0102dac inherit pro_attribs_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63415b3517806c488fa840c54cacb5ad inherit pro_attribs_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="a63415b3517806c488fa840c54cacb5ad"></a>
std::map&lt; std::string, std::vector&lt; boost::signals2::connection &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>connections_</b></td></tr>
<tr class="separator:a63415b3517806c488fa840c54cacb5ad inherit pro_attribs_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d8b3dcbecbe76b1f58978ed1b3a222f inherit pro_attribs_classpcl_1_1_grabber"><td class="memItemLeft" align="right" valign="top"><a id="a9d8b3dcbecbe76b1f58978ed1b3a222f"></a>
std::map&lt; std::string, std::vector&lt; boost::signals2::shared_connection_block &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>shared_connections_</b></td></tr>
<tr class="separator:a9d8b3dcbecbe76b1f58978ed1b3a222f inherit pro_attribs_classpcl_1_1_grabber"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Base class for PCD file grabber. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a6cccea44cb6cfc0935abc80d453aa70a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cccea44cb6cfc0935abc80d453aa70a">&#9670;&nbsp;</a></span>PCDGrabberBase() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::PCDGrabberBase::PCDGrabberBase </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>pcd_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>frames_per_second</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>repeat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor taking just one PCD file or one TAR file containing multiple PCD files. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pcd_file</td><td>path to the PCD file </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frames_per_second</td><td>frames per second. If 0, <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a1bcea1ceadaca0b4d0ab1b1d28b2bc70" title="Starts playing the list of PCD files if frames_per_second is &gt; 0. Otherwise it works as a trigger: pu...">start()</a> functions like a trigger, publishing the next PCD in the list. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>whether to play PCD file in an endless loop or not. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa6806e985294aa87ccfd4414b6ab666d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6806e985294aa87ccfd4414b6ab666d">&#9670;&nbsp;</a></span>PCDGrabberBase() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::PCDGrabberBase::PCDGrabberBase </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>pcd_files</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>frames_per_second</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>repeat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor taking a list of paths to PCD files, that are played in the order they appear in the list. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pcd_files</td><td>vector of paths to PCD files. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frames_per_second</td><td>frames per second. If 0, <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#a1bcea1ceadaca0b4d0ab1b1d28b2bc70" title="Starts playing the list of PCD files if frames_per_second is &gt; 0. Otherwise it works as a trigger: pu...">start()</a> functions like a trigger, publishing the next PCD in the list. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>whether to play PCD file in an endless loop or not. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9578e7d81ec13e8b4b8b7a00f3155d80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9578e7d81ec13e8b4b8b7a00f3155d80">&#9670;&nbsp;</a></span>PCDGrabberBase() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">pcl::PCDGrabberBase::PCDGrabberBase </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html">PCDGrabberBase</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">src</td><td>the PCD <a class="el" href="classpcl_1_1_grabber.html" title="Grabber interface for PCL 1.x device drivers">Grabber</a> base object to copy into this </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;                                                 : <a class="code" href="classpcl_1_1_grabber.html#ad1bd77c0344f3cf3283757daddb4fe9d">Grabber</a> (), impl_ ()</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;      {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        *<span class="keyword">this</span> = src;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      }</div>
<div class="ttc" id="aclasspcl_1_1_grabber_html_ad1bd77c0344f3cf3283757daddb4fe9d"><div class="ttname"><a href="classpcl_1_1_grabber.html#ad1bd77c0344f3cf3283757daddb4fe9d">pcl::Grabber::Grabber</a></div><div class="ttdeci">Grabber()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> grabber.h:63</div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ae42d82f143cf15137d3ea82f1de49f3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae42d82f143cf15137d3ea82f1de49f3a">&#9670;&nbsp;</a></span>getName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string pcl::PCDGrabberBase::getName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>The name of the grabber </dd></dl>

<p>实现了 <a class="el" href="classpcl_1_1_grabber.html#af5765700b48bea8865af2f90e46ea3e6">pcl::Grabber</a>.</p>

</div>
</div>
<a id="ab1dc2332f1796490031bb0e2161f06b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1dc2332f1796490031bb0e2161f06b8">&#9670;&nbsp;</a></span>isRunning()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool pcl::PCDGrabberBase::isRunning </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Indicates whether the grabber is streaming or not. </p>
<dl class="section return"><dt>返回</dt><dd>true if grabber is started and hasn't run out of PCD files. </dd></dl>

<p>实现了 <a class="el" href="classpcl_1_1_grabber.html#ae3a9df18b055d26ba339dc9fac408a7f">pcl::Grabber</a>.</p>

</div>
</div>
<a id="aa53fb50359bc73a7b53d601cc9b346bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa53fb50359bc73a7b53d601cc9b346bf">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html">PCDGrabberBase</a>&amp; pcl::PCDGrabberBase::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html">PCDGrabberBase</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy operator. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">src</td><td>the PCD <a class="el" href="classpcl_1_1_grabber.html" title="Grabber interface for PCL 1.x device drivers">Grabber</a> base object to copy into this </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;      {</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        impl_ = src.impl_;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <span class="keywordflow">return</span> (*<span class="keyword">this</span>);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>io/include/pcl/io/<a class="el" href="pcd__grabber_8h_source.html">pcd_grabber.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_p_c_d_grabber_base.html">PCDGrabberBase</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
